package com.example.lala.bean;

import java.util.List;

public class Money {

    /**
     * code : 200
     * data : [{"id":1,"productname":"新手标第100期","productdesc":"新手标第100期","yieldrate":3.5,"paydays":31,"upperlimit":5.0E8,"balance":4.99388484E8},{"id":2,"productname":"汇添富NO.21期","productdesc":"汇添富NO.21期","yieldrate":3.8,"paydays":88,"upperlimit":4.0E8,"balance":3.99980126E8},{"id":3,"productname":"汇添富NO.22期","productdesc":"汇添富NO.22期","yieldrate":4.3,"paydays":365,"upperlimit":2.0E8,"balance":1.99986286E8},{"id":4,"productname":"汇添富NO.23期","productdesc":"汇添富NO.23期","yieldrate":5.8,"paydays":1001,"upperlimit":2.0E8,"balance":1.99994488E8},{"id":5,"productname":"汇添富NO.24期","productdesc":"汇添富NO.24期","yieldrate":3.4,"paydays":15,"upperlimit":3.0E8,"balance":2.99996712E8}]
     * msg : 操作成功
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 1
         * productname : 新手标第100期
         * productdesc : 新手标第100期
         * yieldrate : 3.5
         * paydays : 31
         * upperlimit : 5.0E8
         * balance : 4.99388484E8
         */

        private int id;
        private String productname;
        private String productdesc;
        private double yieldrate;
        private int paydays;
        private double upperlimit;
        private double balance;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getProductname() {
            return productname;
        }

        public void setProductname(String productname) {
            this.productname = productname;
        }

        public String getProductdesc() {
            return productdesc;
        }

        public void setProductdesc(String productdesc) {
            this.productdesc = productdesc;
        }

        public double getYieldrate() {
            return yieldrate;
        }

        public void setYieldrate(double yieldrate) {
            this.yieldrate = yieldrate;
        }

        public int getPaydays() {
            return paydays;
        }

        public void setPaydays(int paydays) {
            this.paydays = paydays;
        }

        public double getUpperlimit() {
            return upperlimit;
        }

        public void setUpperlimit(double upperlimit) {
            this.upperlimit = upperlimit;
        }

        public double getBalance() {
            return balance;
        }

        public void setBalance(double balance) {
            this.balance = balance;
        }
    }
}
